import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 配置全局文件&样式
import "@/utils/rem.js";
import "@/utils/filters.js";
import "@/assets/css/reset.scss";

// 配置 swiper
import VueAwesomeSwiper from "vue-awesome-swiper";
import "swiper/swiper.scss";
Vue.use(VueAwesomeSwiper /* { default options with global component } */);

// 配置 使用vant组件库
import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
